import { IContext } from '../../common';

export interface IServiceRegister {
	/**
	 * 获取服务
	 *
	 * @param {string} name
	 * @param {IContext} [context]
	 * @return {*}  {Promise<any>}
	 * @memberof IServiceRegister
	 */
	getService(name: string, context?: IContext): Promise<any>;
}
